package com.example.novelweb.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 违禁词规则
 * @TableName wordrule
 */
@TableName(value ="wordrule")
@Data
public class Wordrule implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 违禁词
     */
    private String word;

    /**
     * 是否生效
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}